<template>
    <div class="page_common_title">
        {{ title }}
    </div>
</template>

<script setup>
const props = defineProps({
    title: {
        type: String,
        default: ''
    },
})
</script>
<style lang='less'>
.page_common_title {
    color: #333;
    text-align: center;
    font-size: 28px;
    margin: 20px 0;
    font-weight: 600;

    &::before {
        content: "";
        width: 40px;
        height: 1px;
        background-color: #180844;
        display: inline-block;
        position: relative;
        top: -7px;
        left: -20px;
    }

    &::after {
        content: "";
        width: 40px;
        height: 1px;
        background-color: #180844;
        display: inline-block;
        position: relative;
        top: -7px;
        left: 20px;
    }
}
</style>